Skip to content

Conversation

@joshuarli
Copy link
Member

@joshuarli joshuarli commented Nov 11, 2025

This brings back my uv pr without pyproject.toml and with pinned setuptools and wheel.

The original error doesn't refer to which artifact failed to upload and in fact it is referring to the two macos wheels in the release artifact here. These wheels have metadata 2.1 but also Dynamic fields which are a 2.2+ thing.

I determined this was due to pinning wheel 0.42.0 in my uv pr which produces bad macos wheels. 0.45.1 works. This worked before because in CI we were installing unpinned (latest) setuptools+wheel.

I wrote a small script that reproduced twine's upload fail here (wheel 0.42.0) so that we can error out before actions/upload-artifact and before any release artifacts are published to github.

#skip-changelog

@joshuarli joshuarli marked this pull request as ready for review November 12, 2025 00:24
@joshuarli joshuarli requested a review from a team as a code owner November 12, 2025 00:24
Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try it! I did a few smoke tests, like running python setup.py sdist and committing badly formatted python, that all seems to work 👍 .

I can cut a release of the python library right after merging so there are no surprises at a later point.

Comment on lines +6 to +7
# TODO: reactivate when fixed
# - id: check-github-workflows
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this TODO for this PR, or for later?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshuarli joshuarli changed the title feat: uv take 3, no pyproject.toml and with pinned setuptools and wheel feat: Uv take 3, no pyproject.toml and with pinned setuptools and wheel Nov 12, 2025
@joshuarli joshuarli added this pull request to the merge queue Nov 12, 2025
Merged via the queue into master with commit e744fa0 Nov 12, 2025
28 checks passed
@joshuarli joshuarli deleted the feat-uv-no-pyproject-toml-with-pinned-setuptools branch November 12, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants